package com.siriframe.designPattern.factoryPattern.handler.subject;

import com.siriframe.designPattern.factoryPattern.entity.SubjectInfo;
import com.siriframe.designPattern.factoryPattern.enums.subject.SubjectInfoTypeEnum;
import org.springframework.stereotype.Component;

/**
 * 单选的题目的策略类
 */
@Component
public class BriefTypeHandler implements SubjectTypeHandler{


    @Override
    public SubjectInfoTypeEnum getHandlerType() {
        return SubjectInfoTypeEnum.BRIEF;
    }

    @Override
    public void add(SubjectInfo subjectInfoBO) {
    }
}
